package com.aizuda.boot.modules.business.negotiation.entity;

import com.aizuda.core.bean.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author sangyirong
 * @ClassName contractNegotiationConfigEntity
 * @Version 1.0
 * @Date 2025/6/27 20:08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同协商配置")
@TableName("contract_negotiation_config")
public class ContractNegotiationConfigEntity extends BaseEntity {

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "协商配置名称")
    private String negotiationName;

    @Schema(description = "流程定义ID")
    private String processKey;

    @Schema(description = "是否启用")
    private Boolean isEnabled;

    @Schema(description = "是否发布")
    private Boolean isPublished;

    @Schema(description = "优先级")
    private Integer priority;

    @Schema(description = "系统租户")
    private String sysTenantKey;
}
